<div class="page-content">
	<div>
	<form class="form-horizontal" role="form">
    	<table>
    		<tr>
    			<td>
    				<select name="id" id="example-id" class="chosen-select" id="form-field-select-3" data-placeholder="风险点" style="width: 150px;">
    					<option value=""> </option>
    					<option value="">全部</option>
						<#list fxfkjzs as lst>
							<option value="${lst.id!}" <#if example.id! == lst.id>selected</#if> >${lst.id!}</option>
						</#list>
					</select>
    			</td>
    			<td>
    				<div class="col-sm-9" >
    				<select name="hcsj" id="example-hcsj" class="chosen-select" id="form-field-select-3" data-placeholder="核查月份" style="width: 100px;">
    					<option value=""> </option>
						<#list dates as lst>
							<option value="${lst!}" <#if example.hcsj! == lst>selected</#if> >${lst!}</option>
						</#list>
					</select>
					</div>
    			</td>
    			<td>
    				<button type="button" id="button-analysis" class="btn btn-sm btn-success">
						搜索
						<i class="ace-icon fa fa-hand-o-down icon-on-right bigger-110"></i>
					</button>
    			</td>
    			<td align="right" style="width: 99%;">
    				<a href="#" id="download-button" class="btn btn-white btn-info btn-bold">
						<i class="ace-icon fa fa-floppy-o bigger-120 blue"></i>
						下载
					</a>
    			</td>
    		</tr>
    	</table>
    </form>
	</div>
	<h3 class="header smaller lighter blue"></h3>
    <div class="row">
        <div class="col-xs-12">
            <div class="scrollspy-example">
                <div class="clearfix">
                    <div class="pull-right tableTools-container"></div>
                </div>
                <table id="dynamic-table" class="table table-striped table-bordered table-hover disabled">
                    <thead>
                    <tr>
                        <th>风险点序</th>
                        <th>一类</th>
                        <th>二类</th>
                        <th>部门接口</th>
                        <th>风险点部</th>
                        <th style="white-space: nowrap">风险点名</th>
                        <th style="white-space: nowrap">风险监控</th>
                        <th style="white-space: nowrap">风险等级</th>
                        <th style="white-space: nowrap">抽检监控</th>
                        <th style="white-space: nowrap">单位名称</th>
                        <th style="white-space: nowrap">核查时间</th>
                        <th style="white-space: nowrap">发现问题</th>
                        <th style="white-space: nowrap">各单位负责人</th>
                        <th style="white-space: nowrap">各单位主管领导</th>
                        <th style="white-space: nowrap">反馈时间</th>
                        <th style="white-space: nowrap">是否提供回执单</th>
                        <th style="white-space: nowrap">核查结果</th>
                        <th style="white-space: nowrap">预计整改完成时间</th>
                        <th style="white-space: nowrap">整改措施</th>
                    </tr>
                    </thead>
                    <tbody>
                    <#if fxfkjzs??>
                    <#list fxfkjzs as fxd>
                    
                    	<#if rs[fxd.id]??>
                    		<#assign rm = rs[fxd.id]>
                    		
                    	</#if>
                    	
                    </#list>
                    </#if>
                    </tbody>
                </table>
            </div>
        </div><!-- /.col -->
    </div><!-- /.row -->
</div>

<script>
$('.chosen-select').chosen();
var huizhi = $('.huizhi-file-download');
huizhi.attr('href',$.router.fujiandownload+"?id="+huizhi.attr('id'));
$('#download-button').attr('href',$.router.anaydownload+"?id="+$("#example-id").val()+"&hcsj="+$("#example-hcsj").val()+"&fxdj="+$("#example-fxdj").val()+"&t="+new Date().getTime());
$("#button-analysis").click(function(){
	var formSearch = $(".form-horizontal");
	formSearch.attr('action',$.router.analysis);
	$.loadPage(formSearch.attr('action')+"?t="+new Date().getTime(),{
		type:"post",
		data:formSearch.serializeArray(),
		callback:function(el){
			
		},
		el:"#page-content"
	});
})
</script>